<?php

$htmlOutput = array();
$htmlOutput[] = '<div class="articles form">';
$htmlOutput[] =     $form->create('Article', array('type' => 'file'));
$htmlOutput[] = '	<fieldset>';
$htmlOutput[] = sprintf('<legend>%s</legend>', __('Add Article', true));
$htmlOutput[] =         $form->input('title');
$htmlOutput[] =         $form->input('introduction');
$htmlOutput[] =         $form->input('keywords');
$htmlOutput[] =         $form->input('body');
$htmlOutput[] =         $form->input('image', array('type' => 'file'));
$htmlOutput[] = '	</fieldset>';
$htmlOutput[] =     $form->end('Submit');
$htmlOutput[] = '</div>';
$htmlOutput[] = '<div class="actions">';
$htmlOutput[] = '	<ul>';
$htmlOutput[] = sprintf('<li>%s</li>', $html->link(__('List Articles', true), array('action'=>'index')));
$htmlOutput[] = '	</ul>';
$htmlOutput[] = '</div>';

echo implode("\n", $htmlOutput);

?>